import request from '@/utils/request'

// 查询订单详情表列表
export function listOreriteminfo(query) {
  return request({
    url: '/business/oreriteminfo/list',
    method: 'get',
    params: query
  })
}

// 查询订单详情表详细
export function getOreriteminfo(id) {
  return request({
    url: '/business/oreriteminfo/' + id,
    method: 'get'
  })
}

// 新增订单详情表
export function addOreriteminfo(data) {
  return request({
    url: '/business/oreriteminfo',
    method: 'post',
    data: data
  })
}

// 修改订单详情表
export function updateOreriteminfo(data) {
  return request({
    url: '/business/oreriteminfo',
    method: 'put',
    data: data
  })
}

// 删除订单详情表
export function delOreriteminfo(id) {
  return request({
    url: '/business/oreriteminfo/' + id,
    method: 'delete'
  })
}
